<?php
/**
 * Created by PhpStorm.
 * User: clcw908
 * Date: 2017/1/13
 * Time: 10:25
 */
namespace AuctionBack\Model;

use Think\Model\RelationModel;
class SettingModel extends RelationModel{

	/**
	 * @var string
	 */
	protected $trueTableName = 'au_setting';


	/* 自动验证规则 */
	/**
	 * @var array
	 */
	protected $_validate = array(
	);

	// 字段映射
	/**
	 * @var array
	 */
	protected $fields = array(
		"id",// '配置ID',
        "name",// '配置名称',
        "type",//'配置类型',
        "title",//'配置说明',
		"group", // '配置分组',
        "extra", // '配置值',
        "remark", //'配置说明',
        "status",//'状态',
        "value",//'配置值',
        "sort",//'排序',
        "updatetime",//'更新时间',
        "createtime",// '创建时间',
		'_autoinc' => true
	);
}
